//=====================================================
//			 		          Vector.h
//		         Header da classe Vector3D
//  		     Arquivo criado em 12/12/2010
//		     Microsoft Visual Studio C++ 2008
//
//				     Thiago Bragante Macedo
//              tmacedo29@gmail.com
//=====================================================

#ifndef  VECTOR_3D_H
#define  VECTOR_3D_H

#include <XYZ.h>

class Vector3D
{
  public:
    XYZ pos;

  private:
    Vector3D ();
    Vector3D ( const float&, const float&, const float& );
    void SetX  ( const float& );
    void SetY  ( const float& );
    void SetZ  ( const float& );
    void Coord ( const float&, const float&, const float& );
    const XYZ&  Coord ( void );
    
    void  Subtract( const Vector3D& );
    void  Sum     ( const Vector3D& );
    void  Divide  ( const float& );
    void  Cross   ( const Vector3D& );
    void  Normalize ( void );

    const float X(void) const;
    const float Y(void) const;
    const float Z(void) const;

};


#endif

